<%--
  Created by IntelliJ IDEA.
  User: 29125
  Date: 2022/5/27
  Time: 12:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" type="text/css" href="css/login.css">
    <script type="text/javascript" src="js/jquery.min.js"></script>

    <title>登录</title>
</head>
<body>
<!-- login -->
<div class="top center">
    <div class="logo center">
        <a href="${pageContext.request.contextPath }/list.jsp" target="_blank"></a>
    </div>
</div>
<form  method="post" action="login?method=login" class="form center" id="userLogin" >
    <div class="login">
        <div class="login_center">
<%--            <div class="login_top">--%>
<%--                <div class="left fl">登录</div>--%>
<%--                <div class="right fr">您还没有注册？<a href="${pageContext.request.contextPath }/register.jsp" target="_self">立即注册</a></div>--%>
<%--                <div class="clear"></div>--%>
<%--                <div class="xian center"></div>--%>
<%--            </div>--%>
            <div class="login_main center">
                <div class="username">
                    <div class="left fl">用户名:&nbsp;</div>
                    <div class="right fl">
                        <input class="shurukuang" type="text" name="username" id="username" value="${username}"  placeholder="请输入你的用户名"/>
                        <label id="nameMsg"></label>
                    </div>
                </div>
                <div class="username">
                    <div class="left fl">密&nbsp;&nbsp;&nbsp;&nbsp;码:&nbsp;</div>
                    <div class="right fl">
                        <input class="shurukuang" type="password" name="password"  id="password" value="${password}"  placeholder="请输入你的密码"/>
                    </div>
                </div>
                <div class="username">
                    <div class="left fl">&nbsp;&nbsp;&nbsp;&nbsp;</div>
                    <div class="right fl"><label id="checkMsg"></label></div>
                </div>
                <div class="login_submit">
                    <input class="submit" type="submit" name="submit" value="立即登录" id="btn"  >
                </div>
                <div class="login_submit">
                    <input class="submit" type="submit" name="submit" value="立即注册" id="btn"  >
                </div>
                <span style="color:red">${msg}</span>
            </div>
        </div>
    </div>
</form>
<%--    <form action="login?method=login" method="post" enctype="application/x-www-form-urlencoded">--%>
<%--        <h3>人员档案管理系统</h3>--%>
<%--        用户名：<input type="text" name="username" placeholder="请输入用户名"/><br/>--%>
<%--        密  码：<input type="password" name="password" placeholder="请输入密码"/><br/>--%>

<%--        <input type="submit" value="登录" />--%>
<%--        <input type="submit" value="注册" /><br/>--%>
<%--    </form>--%>

</body>
</html>
